package com.han.visitor;

/**
 * @ClassName Owner
 * @Description 具体访问者角色类
 * @Author duoduo Han
 * @Date 2024/6/21 14:12
 */
public class Owner implements Person{
    @Override
    public void feed(Cat cat) {
        System.out.println("主人喂食小猫");

    }

    @Override
    public void feed(Dog dog) {
        System.out.println("主人喂食小狗");

    }
}
